package com.timeriver.domain.dto;

import lombok.Data;

import java.util.Date;

@Data
public class VersionDto {

    private String id;

    private Date createTime;

    private int version;

    private String modelPath;

    public Date getCreateTime() {
        return this.createTime == null ? new Date() : this.createTime;
    }
}
